Skip to content

Instantly share code, notes, and snippets.

@hermogenes
hermogenes / incident-communication.md
Last active January 20, 2026 13:40
Incident Communication Guide

Incident Communication Guide

For Small Teams

Purpose

This guide defines when to declare an incident, who is responsible for communication, and how to communicate externally during an incident.

It also defines how to act technically during an incident, emphasizing mitigation over fixes to reduce risk and downtime.

@HandsomeManKris
HandsomeManKris / order_book.py
Created November 3, 2021 14:18
Simple python order book
import enum
import queue
import time
from collections import defaultdict
class Side(enum.Enum):
BUY = 0
SELL = 1
@evilbunny2008
evilbunny2008 / README.md
Last active January 20, 2026 13:39 — forked from R0GGER/README.md
Rustdesk - install oneliner

RustDesk Installation Script

This script provides an easy way to install and uninstall RustDesk on Debian-based Linux systems (Ubuntu, Linux Mint, etc.).

Features

  • Automatic detection of the latest RustDesk version
  • Architecture detection (x86_64, aarch64, etc.)
  • Handles all dependencies
  • Supports both install and uninstall
@fellipec
fellipec / pihole-dhcp.md
Last active January 20, 2026 13:38
Pi-Hole DHCP configuration guide

Introduction

Pi-Hole's primary function is to be a DNS server with the ability to block domains, usually used for advertising, tracking or other unwanted sites. It also features a built-in DHCP Server.

Usually, your router will also have a built-in DHCP server, pre-configured from factory, and for most users this is perfectly fine. But in some cases you may want to run another DHCP server instead of relying on your router's one. This guide will help you understand how a DHCP server works and how to configure it without disturbing your network.

If you already know the networking basics, you can cut to the chase and read just the configuration part

Understanding the IP Addressing

@nrollr
nrollr / nginx.conf
Last active January 20, 2026 13:38
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active January 20, 2026 13:32
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh

🚨 CRITICAL SECURITY ANALYSIS REPORT 🚨

Analysis Date: January 20, 2026
Analyst: Automated Security Scan
Verdict:CONFIRMED MALWARE / JOB SCAM


Executive Summary

PDF Processing with Multi-GPU Support / 多GPU支持的PDF处理

中文说明

概述

本项目提供了一个使用多GPU并行处理PDF文件的Python脚本。它基于 MinerU 库,能够将PDF文件转换为 Markdown/JSON 格式,并支持在多GPU环境下高效处理大量文件。

该脚本专为高吞吐量场景设计,通过多进程(Multiprocessing)与 CUDA 上下文隔离技术,实现了稳定的并行解析。

@noderat
noderat / init.zsh
Last active January 20, 2026 13:25
zplug Plugins
# General ZSH Plugins
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting", from:github
zplug "zsh-users/zsh-history-substring-search", from:github, defer:2
zplug "djui/alias-tips", from:github
# SSH
zplug "hkupty/ssh-agent", from:github
@chrismdp
chrismdp / skill.md
Created January 16, 2026 11:36
Today in Claude Code - A skill to generate daily summaries of your Claude Code activity
name description
today-in-claude-code
Generate a summary of today's Claude Code activity including token usage and tasks accomplished.

Today in Claude Code

Generate a comprehensive daily summary of Claude Code usage.

Process